package com.example.admin.mapper;

import com.example.admin.bean.NursingProject;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@Mapper
public interface NursingProjectmapper {
    List<NursingProject> searchingforlist(NursingProject nursingProject);

    Integer save(NursingProject nursingProject);

    NursingProject findbyid(Long id);

    Integer edit(NursingProject nursingProject);

    Integer fixstatus(@Param("id") Long id, @Param("status") Integer status);

    Integer delete(Long id);

    List<NursingProject> maketask(Long checkInId);
}

